package day240508.abstract_demo;

public class Dog extends Animal {

    public Dog(String name) {
        this.name = name;
    }

    @Override
    public void newAbstractMethod() {
        System.out.println("Dog.newAbstractMethod");
    }
}